#include <jni.h>
#include <stdio.h>
#include "string"

extern "C" JNIEXPORT jstring JNICALL

Java_tk_hongbo_biometric_JNIUtils_getPwd(JNIEnv *env, jobject) {
    std::string hello = "Hello HongboZhao !";
    jclass jclass1 = env->FindClass("tk/hongbo/biometric/Cdo");
    jmethodID meth = env->GetStaticMethodID(jclass1, "testJni", "()Ljava/lang/String;");
    jstring result = static_cast<jstring>(env->CallStaticObjectMethod(jclass1, meth));
    printf("调用Java方法");
    return result;
}